package org.example.testdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("page")
public class PageController {

    @GetMapping("logonPage")
    public String logonPage(){return "logon";}

    @GetMapping("homepage")
    public String homepage(){return "homepage";}

    @GetMapping("project")
    public String project(){
        return "project";
    }

    @GetMapping("addProject")
    public String addProject(){
        return "addProject";
    }

    @GetMapping("authorizeProject")
    public String authorizeProject(){return "authorizeProject";}

    @GetMapping("declare")
    public String declare(){return "declare";}

    @GetMapping("addDeclare")
    public String addDeclare(){return "addDeclare";}

    @GetMapping("updateDeclare")
    public String updateDeclare(){return "updateDeclare";};

    @GetMapping("examine")
    public String examine(){return "examine";}

}
